package com.sch.www.common.base;

import java.util.Collection;
import java.util.List;

/**
 * BaseServices接口
 * Created by admin on 2017/01/07.
 */
public interface BaseServicesComplex<Record extends BaseEntity, RecordWithBLOBs extends Record> {


    RecordWithBLOBs selectById(String id);

    List<Record> selectById(Collection<String> idList);

//    int insert(RecordWithBLOBs... record);

    int insertSelective(RecordWithBLOBs... record);

//    boolean updateById(Record record);

    boolean updateByIdSelective(RecordWithBLOBs record);

    boolean updateByIdWithBLOBs(RecordWithBLOBs record);

    int deleteById(String... id);


}